package com.loan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.loan.entity.Perm;

import java.util.List;

/**
 * YJS
 */
public interface PermService extends IService<Perm> {

    List<Perm> listByEmpId(int empid);

    List<Perm> getMenuByEmpId(int empid);

    List<Perm> getAllMenu();

    void  deletePerm(int permid);

    Perm getPerm(int permid);

    List<Perm> selectByPerm(Perm perm);
}
